package com.sharemarking.wa.platform.dto.agreement;

import java.util.Date;

/**
 * @author dxy
 */
public class AgreementInfoDto {
    private String manageOrgName;
    private String produceOrgName;
    private Date expireDate;
    private String picsList;
    private Integer examState;
    private String rejectReason;

    public String getManageOrgName() {
        return manageOrgName;
    }

    public void setManageOrgName(String manageOrgName) {
        this.manageOrgName = manageOrgName;
    }

    public String getProduceOrgName() {
        return produceOrgName;
    }

    public void setProduceOrgName(String produceOrgName) {
        this.produceOrgName = produceOrgName;
    }

    public Long getExpireDate() {
        if (expireDate != null) {
            return expireDate.getTime();
        }
        return null;
    }

    public void setExpireDate(Date expireDate) {
        this.expireDate = expireDate;
    }

    public String[] getPicsList() {
        if (picsList != null) {
            return picsList.split(",");
        }
        return null;
    }

    public void setPicsList(String picsList) {
        this.picsList = picsList;
    }

    public Integer getExamState() {
        return examState;
    }

    public void setExamState(Integer examState) {
        this.examState = examState;
    }

    public String getRejectReason() {
        return rejectReason;
    }

    public void setRejectReason(String rejectReason) {
        this.rejectReason = rejectReason;
    }
}
